package cn.cs.service.impl;


import cn.cs.client.SysDtAreaClient;
import cn.cs.pojo.SysDtArea;
import cn.cs.service.SysDtAreaService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class SysDtAreaServiceImpl implements SysDtAreaService {

    @Resource
    private SysDtAreaClient sysDtAreaClient;

    @Override
    public List<SysDtArea> getSysDtAreasByParId(String id)throws Exception{
        return sysDtAreaClient.getSysDtAreasByParId(id);
    }
    @Override
    public List<SysDtArea> getSysDtAreaListByMap(Map<String,Object> param)throws Exception{
        return sysDtAreaClient.getSysDtAreaListByMap(param);
    }




}
